﻿<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             x:Class="PeoplesJukebox.Web.App"
             xmlns:valueConverters="clr-namespace:PeoplesJukebox.Web.ValueConverters"
             xmlns:extended="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Extended"
             >
    <Application.Resources>

        <valueConverters:StringVisibilityConverter x:Key="StringVisibilityConverter" />
        <valueConverters:ItemTypeImageConverter x:Key="ItemTypeImageConverter" />

        <Style TargetType="Button" x:Key="LargeTextButton">
            <Setter Property="FontSize" Value="20"/>
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Width" Value="500"/>
            <Setter Property="Height" Value="100"/>
        </Style>

        <Style TargetType="Button" x:Key="SmallTextButton">
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="FontFamily" Value="Verdana"/>
        </Style>

        <Style TargetType="Button" x:Key="KeyPadButton">
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Width" Value="38"/>
            <Setter Property="Height" Value="38"/>
        </Style>

        <Style TargetType="TextBlock" x:Key="NowPlayingLabel">
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontStyle" Value="Italic"/>
            <Setter Property="Margin" Value="5,5,2,1"/>
        </Style>

        <Style TargetType="TextBlock" x:Key="NowPlayingValue">
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Margin" Value="5,5,2,1"/>
        </Style>

        <Style TargetType="ListBox" x:Key="ResultsListBox">
            <Setter Property="FontSize" Value="14"/>
            <Setter Property="FontFamily" Value="Verdana"/>
            <Setter Property="FontWeight" Value="Bold"/>
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White"/>
                        <GradientStop Color="LightGray" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>

        <Style TargetType="StackPanel" x:Key="ResultsListItem">
            <Setter Property="Background">
                <Setter.Value>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White"/>
                        <GradientStop Color="LightGray" Offset="1"/>
                    </LinearGradientBrush>
                </Setter.Value>
            </Setter>
        </Style>

        <Style TargetType="Image" x:Key="ButtonImage">
            <Setter Property="Height" Value="48"/>
            <Setter Property="Width" Value="48"/>
            <Setter Property="Margin" Value="20"/>
        </Style>

        <Style TargetType="Image" x:Key="SmallButtonImage">
            <Setter Property="Height" Value="24"/>
            <Setter Property="Width" Value="24"/>
            <Setter Property="Margin" Value="5,5,10,10"/>
        </Style>

    </Application.Resources>



</Application>
